<style type="text/css">
.nodeList table{width:100%;background-color:#ccc;border-spacing:1px;margin-bottom:20px;}
.nodeList table a{font-size:10px;}
.nodeList th{text-align:right;vertical-align:top;padding:10px 30px;background-color:#fff;}
.nodeList td{text-align:left;background-color:#fff;}
.nodeList td div{padding:5px 10px;}
.link{cursor:pointer;color:#ff0000;}
</style>

<h2 class="contentTitle" style="height:22px;padding:5px 10px;font-size:14px;">
	<a href="__URL__/add/pid/0/navTabId/__MODULE__" target="dialog" width="450" height="250" mask="true" class="link">添加一级类别</a>
</h2>

<div class="pageContent">
	<form method="post" action="" class="pageForm required-validate" onsubmit="return validateCallback(this)">
		<div class="pageFormContent nowrap nodeList" layoutH="56">
			<table>
			<volist id="vo" name="nodeList">
				<tr>
					<th width="200">
						{$vo.title}-
						<a href="__URL__/add/pid/{$vo.id}/navTabId/__MODULE__" target="dialog" width="450" height="250" mask="true" class="link">新增子类</a>-
						<a href="__URL__/update/id/{$vo.id}/navTabId/__MODULE__" target="dialog" width="450" height="250" mask="true" class="link">修改</a>-
						<a href="__URL__/delete/id/{$vo.id}/navTabId/__MODULE__" target="navTabTodo" title="你确定要删除吗？" class="link">删除</a>
					</th>
					<td>
						<volist id="val" name="vo.subNodes">
							<div>{$val.title}-
								<a href="__URL__/delete/id/{$val.id}/navTabId/__MODULE__" target="navTabTodo" title="你确定要删除吗？" class="link">删除</a>-
								<a href="__URL__/update/id/{$val.id}/navTabId/__MODULE__" target="dialog" width="450" height="250" mask="true" class="link">修改</a>
							</div>
						</volist>
					</td>
				</tr>
			</volist>	
			</table>
		</div>	
		
		<div class="formBar"></div>
	</form>
	
</div>

